package com.zkc.blog.mapper;

import com.zkc.blog.pojo.Comment;
import com.zkc.blog.pojo.CommentExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CommentMapper {
	
	int insert(Comment record);
		
	int deleteById(Integer commentid);
	 
	int deleteByExample(CommentExample example);
	 
	int updateById(Comment record);
	 
	Comment selectById(Integer commentid);
	 
	List<Comment> selectByExample(CommentExample example);
	 
	
    /*int countByExample(CommentExample example);

    int deleteByExample(CommentExample example);

    int deleteByPrimaryKey(Integer commentid);

    int insert(Comment record);

    int insertSelective(Comment record);

    List<Comment> selectByExampleWithBLOBs(CommentExample example);

    List<Comment> selectByExample(CommentExample example);

    Comment selectByPrimaryKey(Integer commentid);

    int updateByExampleSelective(@Param("record") Comment record, @Param("example") CommentExample example);

    int updateByExampleWithBLOBs(@Param("record") Comment record, @Param("example") CommentExample example);

    int updateByExample(@Param("record") Comment record, @Param("example") CommentExample example);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKeyWithBLOBs(Comment record);

    int updateByPrimaryKey(Comment record);*/
}